//package com.standardoperationapp.materialinventory.activity;
//
//import androidx.appcompat.app.AppCompatActivity;
//
//import android.content.Intent;
//import android.os.Bundle;
//import android.view.View;
//import android.widget.AdapterView;
//import android.widget.ListView;
//
//import com.standardoperationapp.R;
//import com.standardoperationapp.adapter.PlanListAdapter;
//import com.standardoperationapp.global.PlanListItem;
//
//import java.util.ArrayList;
//import java.util.List;
//
///**
// * 作业计划
// */
//public class OperationPlanActivity extends AppCompatActivity {
//
//    private ListView listView;
//    private PlanListAdapter adapter;
//    private List<PlanListItem> list ;
//    @Override
//    protected void onCreate(Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        setContentView(R.layout.activity_operation_plan);
//        listView = (ListView)findViewById(R.id.planlist);
//        init();
//        adapter=new PlanListAdapter(this,list);
//        listView.setAdapter(adapter);
//
//        listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
//            @Override
//            public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
//                view.setSelected(true);
//                Intent intent = new Intent(OperationPlanActivity.this, ListItemActivity.class);
//                startActivity(intent);
//            }
//        });
//    }
//    public void init()
//    {
//        list =new ArrayList<PlanListItem>();
//        list.add(new PlanListItem("2024-01-01 高家堡工务工区","高卧间上行 K98+000-k103+500","2024-01-01  9:00-12:00","钢轨打磨\n均匀轨缝\n整治接头\n防三折检查及更换"));
//    }
//}